package com.lmqb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.GrabCarrierNets;

public interface GrabCarrierNetsMapper {
    int deleteByPrimaryKey(Integer grabId);

    int insert(GrabCarrierNets record);

    int insertSelective(GrabCarrierNets record);

    GrabCarrierNets selectByPrimaryKey(Integer grabId);

    int updateByPrimaryKeySelective(GrabCarrierNets record);

    int updateByPrimaryKey(GrabCarrierNets record);

	List<GrabCarrierNets> selectByUserId(@Param(value="startPos") Integer startPos,
            @Param(value="pageSize") Integer pageSize,@Param("userId")Integer userId);
	
	Integer netsCount(Integer userId);
}